package com.woniu.dating.feignclient;

import com.woniu.common.entity.Result;
import com.woniu.dating.vo.DatingLoginVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "life-dating",path = "/datingHobby",contextId = "datingHobby")
public interface DatingFeignClient {

    /**
     * 根据手机号获取用户
     */
    @GetMapping("/mobile/{mobile}")
    public Result<DatingLoginVO> getDatingHobbyByMobile(@PathVariable("mobile") String mobile);


}
